<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
    <title>文件上传</title>
    <link rel='stylesheet' href='<%- rootUrl %>/res/adapter.css' />
    <script src="<%- rootUrl %>/res/adapter.js"></script>
</head>
<body class="body-margin">
<alljs-widget><message-top><%- message %></message-top></alljs-widget>
<h1>文件上传&emsp;(重定向到上传的文件)</h1>
<form action="./upload" method="post" enctype="multipart/form-data">
    <p>上传单个文件&emsp;<input type="file" name="content_single" /></p>
    <p>上传多个文件&emsp;<input type="file" name="content" multiple="multiple" /></p>
    <p><input type="submit" value="立刻上传" /></p>
</form>
<hr/>
<h1>文件上传&emsp;(返回URL)</h1>
<form action="./upload?returnType=url" method="post" enctype="multipart/form-data">
    <p>上传单个文件&emsp;<input type="file" name="content_single" /></p>
    <p>上传多个文件&emsp;<input type="file" name="content" multiple="multiple" /></p>
    <p><input type="submit" value="立刻上传" /></p>
</form>
<hr/>
<h1>文件上传&emsp;(集成页面)</h1>
<a href="./upResource.html">立即前往</a>
</body>
</html>